//
//  GamePlay.m
//  MessangerSkeleton
//
//  Created by User-23 on 4/17/14.
//  Copyright (c) 2014 IOTrainingCamp. All rights reserved.
//

#import "GamePlay.h"


@interface GamePlay ()

@end

@implementation GamePlay

static BOOL isInited;

#pragma mark - init a Singleton object
+ (id)sharedInstance
{
    static GamePlay *instance = nil;
    if ( !instance ) {
        static dispatch_once_t onceToken;
        dispatch_once(&onceToken, ^{
            instance = [[super alloc] init];
        });
    }
    return instance;
}

+ (id)alloc
{
    return [GamePlay sharedInstance];
}

- (id)init
{
    if ( !isInited ){
        self = [super init];
        isInited = YES;
    }
    return self;
}



@end
